import React, { Component } from 'react'

export default class App extends Component {
  constructor(props){
    super(props)
    setTimeout(() => {
      console.log('hello')
    }, 1000);
  }
  static childContextTypes = {}
  
  getChildContext(){

  }
  componentDidMount(){
    console.log('完成挂载')
  }
  componentWillMount(){
      console.log('componentWillMount')
  }
  render() {
    return (
      <div ref="ref">
          App
      </div>
    )
  }
}
